package cuiyt.datastructure.rbtree;

import cuiyt.datastructure.rbtree.bst.Bst;

import java.util.Comparator;

/**
 * @author cyt
 * @create 2021-01-17 下午 11:23
 */
public class RbTree<E> extends Bst<E> {

    private static final boolean RED = false;
    private static final boolean BLACK  = false;

    public RbTree() {
        this(null);
    }

    public RbTree(Comparator comparator) {
        super(comparator);
    }


    private static class RbNode<E> extends Node<E> {
        boolean color;

        public RbNode(E element, Node<E> parent) {
            super(element, parent);
        }
    }
}
